package com.eshop.modules.user.service.dto;

public class BillOrderRecordDto {
    private String avatar;
    private String nickname;
    private Double number;
    private String orderId;
    private String time;

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof BillOrderRecordDto;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof BillOrderRecordDto)) {
            return false;
        }
        BillOrderRecordDto other = (BillOrderRecordDto) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Double this$number = getNumber();
        Double other$number = other.getNumber();
        if (this$number != null ? !this$number.equals(other$number) : other$number != null) {
            return false;
        }
        String this$orderId = getOrderId();
        String other$orderId = other.getOrderId();
        if (this$orderId != null ? !this$orderId.equals(other$orderId) : other$orderId != null) {
            return false;
        }
        String this$time = getTime();
        String other$time = other.getTime();
        if (this$time != null ? !this$time.equals(other$time) : other$time != null) {
            return false;
        }
        String this$avatar = getAvatar();
        String other$avatar = other.getAvatar();
        if (this$avatar != null ? !this$avatar.equals(other$avatar) : other$avatar != null) {
            return false;
        }
        String this$nickname = getNickname();
        String other$nickname = other.getNickname();
        if (this$nickname == null) {
            if (other$nickname == null) {
                return true;
            }
        } else if (this$nickname.equals(other$nickname)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        Double $number = getNumber();
        int hashCode = $number == null ? 43 : $number.hashCode();
        String $orderId = getOrderId();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = $orderId == null ? 43 : $orderId.hashCode();
        String $time = getTime();
        int i3 = (i2 + hashCode2) * 59;
        int hashCode3 = $time == null ? 43 : $time.hashCode();
        String $avatar = getAvatar();
        int i4 = (i3 + hashCode3) * 59;
        int hashCode4 = $avatar == null ? 43 : $avatar.hashCode();
        String $nickname = getNickname();
        int i5 = (i4 + hashCode4) * 59;
        if ($nickname != null) {
            i = $nickname.hashCode();
        }
        return i5 + i;
    }

    public void setAvatar(String avatar2) {
        this.avatar = avatar2;
    }

    public void setNickname(String nickname2) {
        this.nickname = nickname2;
    }

    public void setNumber(Double number2) {
        this.number = number2;
    }

    public void setOrderId(String orderId2) {
        this.orderId = orderId2;
    }

    public void setTime(String time2) {
        this.time = time2;
    }

    public String toString() {
        return "BillOrderRecordDto(orderId=" + getOrderId() + ", time=" + getTime() + ", number=" + getNumber() + ", avatar=" + getAvatar() + ", nickname=" + getNickname() + ")";
    }

    public String getOrderId() {
        return this.orderId;
    }

    public String getTime() {
        return this.time;
    }

    public Double getNumber() {
        return this.number;
    }

    public String getAvatar() {
        return this.avatar;
    }

    public String getNickname() {
        return this.nickname;
    }
}
